package cn.blossoming.service.base.utils;

import java.util.regex.Pattern;

/**
 * 验证数据
 */
public class ValidationUtils {
    private static final String PHONE_REG = "^1[34578]\\d{9}$";

    public static boolean checkPhone(String phoneStr) {
        return Pattern.compile(PHONE_REG).matcher(phoneStr).matches();
    }
}
